package com.qf.client;

import com.qf.classes.Clsses;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author H
 * @create 2020-11-03 11:01
 * @strive To be whoever you want to be.
 * @Description:
 */
@FeignClient(serviceId = "hc-classes")
public interface ClassesClient {

    @RequestMapping("/findClassByUserId")
    public List<Clsses> findClassByUserId(@RequestParam("id") Integer id);
}
